gl renderer: Fix nested rounded clip rendering
authorTimm Bäder <mail@baedert.org>
Tue, 12 May 2020 18:11:13 +0000 (20:11 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 13 May 2020 06:07:55 +0000 (08:07 +0200)
commitb9ed957af38b19538d483c90af21676b0f6c329c
tree1d799902cbab0779fa7ca18ff2f552a03a212469
parent949eb8d17afb981d275ba6011a6fd44231bc580d
gl renderer: Fix nested rounded clip rendering

If the inner clip intersects with the corners of the outer clip, we
potentially need a texture. We should add more fine-grained checks for
this in the future though.

Test case included.
gsk/gl/gskglrenderer.c
testsuite/gsk/compare/nested-rounded-clips.node [new file with mode: 0644]
testsuite/gsk/compare/nested-rounded-clips.png [new file with mode: 0644]
testsuite/gsk/meson.build